﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    /// <summary>
    /// 用于sql语句的条件
    /// </summary>
    public class Condition
    {
        public string Field { get; set; }

        public string Syn { get; set; }

        public object Value { get; set; }
    }

    /// <summary>
    /// 运算符
    /// </summary>
    public enum Syn
    {
        Equal,
        LargeThan,
        LessThan,
        LargeEqual,
        LessEqual,
        Like
    }
}
